﻿using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace MVVMEx1.Model
{
    public class NhanVien
    {
        private string _maNV;
        private string _ho;
        private string _ten;
        private bool _gioiTinh;
        private DateTime _ngaySinh;
        private string _diaChi;
        private string _dienThoai;
        private string _CMND;
        private string _maPB;


        [PrimaryKey]
        public string MaNV
        {
            get { return this._maNV; }
            set { this._maNV = value; }
        }

        public string Ho
        {
            get { return this._ho; }
            set { this._ho = value; }
        }

        public string Ten
        {
            get { return this._ten; }
            set
            {
                this._ten = value;
            }
        }

        public bool GioiTinh
        {
            get { return this._gioiTinh; }
            set
            {
                this._gioiTinh = value;
            }
        }

        public DateTime NgaySinh
        {
            get { return this._ngaySinh; }
            set
            {
                this._ngaySinh = value;
            }
        }

        public string DiaChi
        {
            get { return this._diaChi; }
            set
            {
                this._diaChi = value;
            }
        }

        public string DienThoai
        {
            get { return this._dienThoai; }
            set
            {
                this._dienThoai = value;
            }
        }

        public string CMND
        {
            get { return this._CMND; }
            set
            {
                this._CMND = value;
            }
        }

        public string MaPB
        {
            get { return this._maPB; }
            set
            {
                this._maPB = value;
            }
        }
    }
}
